home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / sml1660.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  51.1 KB  |  1,762 lines

  1. *%%
  2. *%% Samsung ML-1660 PCL6
  3. *%%
  4. *%% Copyright 1998 - 1999, Microsoft Corp.
  5. *%% All Rights Reserved.
  6. *%%
  7.  
  8. *%%
  9. *%% Global Entries
  10. *%%
  11. *GPDSpecVersion: "1.0"
  12. *GPDFileVersion: "1.0"
  13.  
  14. *%%% ======================
  15. *%%% Include standard GPD files
  16. *%%% =====================
  17. *Include: "StdNames.gpd"
  18. *Include: "ttfsub.gpd"
  19.  
  20. *%%
  21. *%% Model Specific Global Entries
  22. *%%
  23. *GPDFileName: "sml1660.gpd"
  24. *ModelName:   "Samsung ML-1660 PCL"
  25. *MaxCopies: 32767
  26. *PrintRate: 16
  27. *PrintRatePPM: 16
  28. *PrintRateUnit: PPM
  29. *%%% ======================
  30. *%%% Macros
  31. *%%% ======================
  32. *Include: "pjl.gpd"
  33. *Include: "p6font.gpd"
  34. *Include: "p6disp.gpd"
  35.  
  36. *%%% ======================
  37. *%%% Main
  38. *%%% ======================
  39. *Include: "pclxl.gpd"
  40.  
  41. *%%% ======================
  42. *%%% JOB_SETUP, PAGE_FINISH
  43. *%%% , JOB_FINISH
  44. *%%% ======================
  45. *Macros: PCLXLCommand
  46. {
  47. *%%% ---------------------------------------------------------------------------
  48. *%%% PCL XL Stream Header
  49. *%%% ---------------------------------------------------------------------------
  50. PCLXL_StreamHeader: ") HP-PCL XL;1;1;"
  51. +                   "Comment Copyright(c) 1999 Microsoft Corporation<0A>"
  52.  
  53. *%%% ---------------------------------------------------------------------------
  54. *%%% BeginSession
  55. *%%%     Measure(ubyte) & UnitsPerMeasure(uint16_xy) & {ErrorReport(ubyte)}
  56. *%%% ---------------------------------------------------------------------------
  57. PCLXL_BeginSession1200: =uint16_xy "<b004b004>" =attr_ubyte =UnitsPerMeasure =ubyte
  58. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  59.  
  60. PCLXL_BeginSession600: =uint16_xy "<58025802>" =attr_ubyte =UnitsPerMeasure =ubyte
  61. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  62.  
  63. PCLXL_BeginSession300: =uint16_xy "<2c012c01>" =attr_ubyte =UnitsPerMeasure =ubyte
  64. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  65.  
  66. Width: %m{ RasterDataWidthInBytes }
  67. Height: %m{ RasterDataHeightInPixels }
  68. DataSize: %l{ NumOfDataBytes }
  69. FntHeight: %l{ FontHeight*600/TextYRes }
  70. FntNextGlyph: %l{ NextGlyph }
  71.  
  72. *%%% ---------------------------------------------------------------------------
  73. *%%% BeginRaster
  74. *%%%     ColorDepth(ubyte) & ColorMapping(ubyte) & SourceWidth(uint16) &
  75. *%%%     SourceWidth(uint16) & SourceHeight(uint16)
  76. *%%% ---------------------------------------------------------------------------
  77. PCLXL_CmdBeginRaster: =ubyte =e1Bit =attr_ubyte =ColorDepth
  78. +                     =ubyte =eDirectPixel =attr_ubyte =ColorMapping
  79. +                     =uint16 =Width =attr_ubyte =SourceWidth
  80. +                     =uint16 =Height =attr_ubyte =SourceHeight
  81. +                     =uint16_xy =Width =Height =attr_ubyte =DestinationSize
  82. +                     =BeginImage
  83. +                     =ubyte =eNoCompression =attr_ubyte =CompressMode
  84. +                     =ubyte "<00>" =attr_ubyte =StartLine
  85. +                     =uint16 =Height =attr_ubyte =BlockHeight
  86. +                     =ReadImage
  87.  
  88. PCLXL_CmdSendBlockData: =dataLength =DataSize "<0000>"
  89.  
  90. DestinationX: %l{DestX}
  91. DestinationY: %l{DestY}
  92. DestinationXRel: %l{DestYRel}
  93. DestinationYRel: %l{DestXRel}
  94. NumOfCopy: %l{NumOfCopies}
  95. PrintDir: %l{PrintDirInCCDegrees}
  96. FntName: =ubyte_array =uint16 "<1000>" "MS PCLXLFont " %3d{CurrentFontID}
  97. }
  98.  
  99. *%%% ======================
  100. *%%% Features and Options
  101. *%%% ======================
  102.  
  103. *%% Orientation
  104. *Feature: Orientation
  105. {
  106.     *rcNameID: =ORIENTATION_DISPLAY
  107.     *DefaultOption: PORTRAIT
  108.     *Option: PORTRAIT
  109.     {
  110.         *rcNameID: =PORTRAIT_DISPLAY
  111.     }
  112.     *Option: LANDSCAPE_CC90
  113.     {
  114.         *rcNameID: =LANDSCAPE_DISPLAY
  115.     }
  116. }
  117.  
  118. *%%% ======================
  119. *%%% JOB_SETUP
  120. *%%% ======================
  121.  
  122. *%%% ======================
  123. *%%% JOB_SETUP.1
  124. *%%% START PLJ JOB
  125. *%%% PAGEPROTECT
  126. *%%% TIMEOUT
  127. *Feature: PageProtect
  128. {
  129.     *rcNameID: =PAGE_PROTECTION_DISPLAY
  130.     *DefaultOption: OFF
  131.     *Option: ON
  132.     {
  133.         *rcNameID: =ON_DISPLAY
  134.         *Command: CmdSelect
  135.         {
  136.             *Order: JOB_SETUP.1
  137.             *Cmd: =PJL_STARTJOB =PJL_COMMENT =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  138.         }
  139.     }
  140.     *Option: OFF
  141.     {
  142.         *rcNameID: =OFF_DISPLAY
  143.         *Command: CmdSelect
  144.         {
  145.             *Order: JOB_SETUP.1
  146.             *Cmd: =PJL_STARTJOB =PJL_COMMENT =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  147.         }
  148.     }
  149. }
  150. *%%% ======================
  151. *%%% JOB_SETUP.2
  152. *%%% ECONOMODE
  153. *Feature: Economode
  154. {
  155.     *rcNameID: =ECONOMODE_DISPLAY
  156.     *DefaultOption: Option1
  157.     *Option: Option1
  158.     {
  159.         *rcNameID: =ECONOMODE_DEFAULT_DISPLAY
  160.     }
  161.     *Option: Option2
  162.     {
  163.         *rcNameID: =ECONOMODE_OFF_DISPLAY
  164.         *Command: CmdSelect
  165.         {
  166.             *Order: JOB_SETUP.2
  167.             *Cmd: =PJL_ECONOMODE_OFF
  168.         }
  169.     }
  170.     *Option: Option3
  171.     {
  172.         *rcNameID: =ECONOMODE_ON_DISPLAY
  173.         *Command: CmdSelect
  174.         {
  175.             *Order: JOB_SETUP.2
  176.             *Cmd: =PJL_ECONOMODE_ON
  177.         }
  178.     }
  179. }
  180.  
  181. *%%% ======================
  182. *%%% JOB_SETUP.3
  183. *%%% RET
  184. *Feature: RET
  185. {
  186.     *rcNameID: =PRINT_QUALITY
  187.     *DefaultOption: Option1
  188.     *Option: Option1
  189.     {
  190.         *rcNameID: =PRINT_QUALITY_DEFAULT
  191.     }
  192.     *Option: Option2
  193.     {
  194.         *rcNameID: =PRINT_QUALITY_LIGHT
  195.         *Command: CmdSelect
  196.         {
  197.             *Order: JOB_SETUP.3
  198.             *Cmd: =PJL_RET_LIGHT
  199.         }
  200.     }
  201.     *Option: Option3
  202.     {
  203.         *rcNameID: =PRINT_QUALITY_MEDIUM
  204.         *Command: CmdSelect
  205.         {
  206.             *Order: JOB_SETUP.3
  207.             *Cmd: =PJL_RET_MEDIUM
  208.         }
  209.     }
  210.     *Option: Option4
  211.     {
  212.         *rcNameID: =PRINT_QUALITY_DARK
  213.         *Command: CmdSelect
  214.         {
  215.             *Order: JOB_SETUP.3
  216.             *Cmd: =PJL_RET_DARK
  217.         }
  218.     }
  219.     *Option: Option5
  220.     {
  221.         *rcNameID: =PRINT_QUALITY_OFF
  222.         *Command: CmdSelect
  223.         {
  224.             *Order: JOB_SETUP.3
  225.             *Cmd: =PJL_RET_OFF
  226.         }
  227.     }
  228. }
  229.  
  230. *%%% ======================
  231. *%%% JOB_SETUP.4
  232. *%%% Collate
  233. *Feature: Collate
  234. {
  235.     *rcNameID: =COLLATOR_DISPLAY *% this shouldn't appear...
  236.  
  237.     *DefaultOption: OFF
  238.     *Option: ON
  239.     {
  240.         *rcNameID: =ON_DISPLAY
  241.        *switch: PrinterHardDisk
  242.         {
  243.            *case: FALSE
  244.      {
  245.  
  246.        *Switch:  Memory  *% need 16MB to collate w/o harddisk
  247.         {
  248.               *Case: 4MB
  249.                  {
  250.              *Command: CmdSelect
  251.                             {
  252.                               *Order: JOB_SETUP.4
  253.                               *Cmd: =PJL_COLLATE_OFF
  254.                              }
  255.            }
  256.                            *Case: 8MB
  257.            {
  258.                  *Command: CmdSelect
  259.                            {
  260.                               *Order: JOB_SETUP.4
  261.                               *Cmd: =PJL_COLLATE_OFF
  262.                           }
  263.                        }
  264.                           *Case: 12MB
  265.            {
  266.                  *Command: CmdSelect
  267.                            {
  268.                               *Order: JOB_SETUP.4
  269.                               *Cmd: =PJL_COLLATE_OFF
  270.                           }
  271.                        }
  272.         *default
  273.            {
  274.                  *Command: CmdSelect
  275.                            {
  276.                               *Order: JOB_SETUP.4
  277.                               *Cmd: =PJL_COLLATE_ON
  278.                           }
  279.                        }
  280.          }
  281.              }
  282.             *case: TRUE
  283.             {
  284.                 *Command: CmdSelect
  285.                 {
  286.                     *Order: JOB_SETUP.4
  287.                     *Cmd: =PJL_COLLATE_ON
  288.                 }
  289.             }
  290.         }
  291.     }
  292.     *Option: OFF
  293.     {
  294.         *rcNameID:=OFF_DISPLAY
  295.         *Command: CmdSelect
  296.         {
  297.             *Order: JOB_SETUP.4
  298.             *Cmd: =PJL_COLLATE_OFF
  299.         }
  300.     }
  301. }
  302.  
  303. *Feature: JobRetention
  304. {
  305.     *rcNameID: =JOB_RETENTION_DISPLAY *% Job Retention
  306.     *DefaultOption: Option1
  307.     *Option: Option1
  308.     {
  309.         *rcNameID: =OFF_DISPLAY
  310.         *Command: CmdSelect
  311.         {
  312.             *Order: JOB_SETUP.3
  313.             *Cmd: "@PJL SET HOLD=OFF<0A>"
  314.         }
  315.     }
  316.     *Option: Option2
  317.     {
  318.         *rcNameID: =QUICK_COPY_DISPLAY
  319.         *Command: CmdSelect
  320.         {
  321.             *Order: JOB_SETUP.3
  322.             *Cmd: "@PJL SET HOLD=ON<0A>"
  323.         }
  324.     }
  325.     *Option: Option3
  326.     {
  327.         *rcNameID: =PROOF_HOLD_DISPLAY
  328.         *Command: CmdSelect
  329.         {
  330.            *Order: JOB_SETUP.3
  331.             *Cmd: "@PJL SET HOLD=PROOF<0A>"
  332.         }
  333.     }
  334.     *Option: Option4
  335.     {
  336.         *rcNameID: =STORE_JOB_DISPLAY
  337.         *Command: CmdSelect
  338.         {
  339.             *Order: JOB_SETUP.3
  340.             *Cmd: "@PJL SET HOLD=STORE<0A>"
  341.          }
  342.       }
  343. }
  344.  
  345. *Feature: JobRetentionUserID
  346. {
  347.     *rcNameID: =JOB_RETENTION_USERID_DISPLAY *%"Job Retention User ID"
  348.     *DefaultOption: Option1
  349.     *Option: Option1
  350.     {
  351.         *Name: "1"
  352.         *Command: CmdSelect
  353.         {
  354.             *Order: JOB_SETUP.3
  355.             *Cmd: "@PJL SET USERNAME=<22>1<22><0A>"
  356.         }
  357.     }
  358.     *Option: Option2
  359.     {
  360.         *Name: "2"
  361.         *Command: CmdSelect
  362.         {
  363.             *Order: JOB_SETUP.3
  364.             *Cmd: "@PJL SET USERNAME=<22>2<22><0A>"
  365.         }
  366.     }
  367.     *Option: Option3
  368.     {
  369.         *Name: "3"
  370.         *Command: CmdSelect
  371.         {
  372.             *Order: JOB_SETUP.3
  373.             *Cmd: "@PJL SET USERNAME=<22>3<22><0A>"
  374.         }
  375.     }
  376.     *Option: Option4
  377.     {
  378.         *Name: "4"
  379.         *Command: CmdSelect
  380.         {
  381.             *Order: JOB_SETUP.3
  382.             *Cmd: "@PJL SET USERNAME=<22>4<22><0A>"
  383.         }
  384.     }
  385.     *Option: Option5
  386.     {
  387.         *Name: "5"
  388.         *Command: CmdSelect
  389.         {
  390.             *Order: JOB_SETUP.3
  391.             *Cmd: "@PJL SET USERNAME=<22>5<22><0A>"
  392.         }
  393.     }
  394.     *Option: Option6
  395.     {
  396.         *Name: "6"
  397.         *Command: CmdSelect
  398.         {
  399.             *Order: JOB_SETUP.3
  400.             *Cmd: "@PJL SET USERNAME=<22>6<22><0A>"
  401.         }
  402.     }
  403.     *Option: Option7
  404.     {
  405.         *Name: "7"
  406.         *Command: CmdSelect
  407.         {
  408.             *Order: JOB_SETUP.3
  409.             *Cmd: "@PJL SET USERNAME=<22>7<22><0A>"
  410.         }
  411.     }
  412.     *Option: Option8
  413.     {
  414.         *Name: "8"
  415.         *Command: CmdSelect
  416.         {
  417.             *Order: JOB_SETUP.3
  418.             *Cmd: "@PJL SET USERNAME=<22>8<22><0A>"
  419.         }
  420.     }
  421.     *Option: Option9
  422.     {
  423.         *Name: "9"
  424.         *Command: CmdSelect
  425.         {
  426.             *Order: JOB_SETUP.3
  427.             *Cmd: "@PJL SET USERNAME=<22>9<22><0A>"
  428.         }
  429.     }
  430.     *Option: Option10
  431.     {
  432.         *Name: "10"
  433.         *Command: CmdSelect
  434.         {
  435.             *Order: JOB_SETUP.3
  436.             *Cmd: "@PJL SET USERNAME=<22>10<22><0A>"
  437.         }
  438.     }
  439.     *Option: Option11
  440.     {
  441.         *Name: "11"
  442.         *Command: CmdSelect
  443.         {
  444.             *Order: JOB_SETUP.3
  445.             *Cmd: "@PJL SET USERNAME=<22>11<22><0A>"
  446.         }
  447.     }
  448.     *Option: Option12
  449.     {
  450.         *Name: "12"
  451.         *Command: CmdSelect
  452.         {
  453.             *Order: JOB_SETUP.3
  454.             *Cmd: "@PJL SET USERNAME=<22>12<22><0A>"
  455.         }
  456.     }
  457.     *Option: Option13
  458.     {
  459.         *Name: "13"
  460.         *Command: CmdSelect
  461.         {
  462.             *Order: JOB_SETUP.3
  463.             *Cmd: "@PJL SET USERNAME=<22>13<22><0A>"
  464.         }
  465.     }
  466.     *Option: Option14
  467.     {
  468.         *Name: "14"
  469.         *Command: CmdSelect
  470.         {
  471.             *Order: JOB_SETUP.3
  472.             *Cmd: "@PJL SET USERNAME=<22>14<22><0A>"
  473.         }
  474.     }
  475.     *Option: Option15
  476.     {
  477.         *Name: "15"
  478.         *Command: CmdSelect
  479.         {
  480.             *Order: JOB_SETUP.3
  481.             *Cmd: "@PJL SET USERNAME=<22>15<22><0A>"
  482.         }
  483.     }
  484.     *Option: Option16
  485.     {
  486.         *Name: "16"
  487.         *Command: CmdSelect
  488.         {
  489.             *Order: JOB_SETUP.3
  490.             *Cmd: "@PJL SET USERNAME=<22>16<22><0A>"
  491.         }
  492.     }
  493.     *Option: Option17
  494.     {
  495.         *Name: "17"
  496.         *Command: CmdSelect
  497.         {
  498.             *Order: JOB_SETUP.3
  499.             *Cmd: "@PJL SET USERNAME=<22>17<22><0A>"
  500.         }
  501.     }
  502.     *Option: Option18
  503.     {
  504.         *Name: "18"
  505.         *Command: CmdSelect
  506.         {
  507.             *Order: JOB_SETUP.3
  508.             *Cmd: "@PJL SET USERNAME=<22>18<22><0A>"
  509.         }
  510.     }
  511.     *Option: Option19
  512.     {
  513.         *Name: "19"
  514.         *Command: CmdSelect
  515.         {
  516.             *Order: JOB_SETUP.3
  517.             *Cmd: "@PJL SET USERNAME=<22>19<22><0A>"
  518.         }
  519.     }
  520.     *Option: Option20
  521.     {
  522.         *Name: "20"
  523.         *Command: CmdSelect
  524.         {
  525.             *Order: JOB_SETUP.3
  526.             *Cmd: "@PJL SET USERNAME=<22>20<22><0A>"
  527.         }
  528.     }
  529. }
  530.  
  531. *% constrain all but option 1 when no hard disk installed
  532. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option2)
  533. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option3)
  534. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option4)
  535.  
  536. *% constrain all but option 1 when no hard disk installed
  537. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option2)
  538. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option3)
  539. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option4)
  540. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option5)
  541. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option6)
  542. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option7)
  543. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option8)
  544. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option9)
  545. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option10)
  546. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option11)
  547. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option12)
  548. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option13)
  549. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option14)
  550. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option15)
  551. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option16)
  552. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option17)
  553. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option18)
  554. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option19)
  555. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option20)
  556.  
  557. *%%% ======================
  558. *%%% JOB_SETUP.5
  559. *%%%     RESOLUTION
  560. *%%%     ENTER LANGUAGE=PCLXL
  561. *%%%     PCL XL Stream Header
  562. *%%%     BeginSession
  563. *%%% CmdEndRaster
  564. *%%%     EndImage
  565. *%%% CmdSendBlockData
  566. *%%%     EndImage
  567. *Feature: Resolution
  568. {
  569.     *rcNameID: =RESOLUTION_DISPLAY
  570.     *DefaultOption: Option1
  571.  
  572.     *Option: Option1
  573.     {
  574.         *Name: "600 x 600 " =DOTS_PER_INCH
  575.         *DPI: PAIR(600, 600)
  576.         *TextDPI: PAIR(600, 600)
  577.         *MinStripBlankPixels: 32
  578.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  579.         *SpotDiameter: 100
  580.         *Command: CmdBeginRaster
  581.         {
  582.             *Cmd : =PCLXL_CmdBeginRaster
  583.         }
  584.  
  585.         *Command: CmdEndRaster { *Cmd : =EndImage }
  586.         *Command: CmdSendBlockData
  587.         {
  588.             *Cmd: =PCLXL_CmdSendBlockData
  589.         }
  590.  
  591.         *Command: CmdSelect
  592.         {
  593.             *Order: JOB_SETUP.5
  594.             *Cmd: =PJL_RESOLUTION_600 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession600
  595.         }
  596.     }
  597.     *Option: Option2
  598.     {
  599.         *Name: "300 x 300 " =DOTS_PER_INCH
  600.         *DPI: PAIR(300, 300)
  601.         *TextDPI: PAIR(300, 300)
  602.         *MinStripBlankPixels: 32
  603.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  604.         *SpotDiameter: 100
  605.         *Command: CmdBeginRaster
  606.         {
  607.             *Cmd : =PCLXL_CmdBeginRaster
  608.         }
  609.  
  610.         *Command: CmdEndRaster { *Cmd : =EndImage }
  611.         *Command: CmdSendBlockData
  612.         {
  613.             *Cmd: =PCLXL_CmdSendBlockData
  614.         }
  615.  
  616.         *Command: CmdSelect
  617.         {
  618.             *Order: JOB_SETUP.5
  619.             *Cmd: =PJL_RESOLUTION_300 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession300
  620.         }
  621.     }
  622. }
  623.  
  624. *%%% ======================
  625. *%%% JOB_SETUP.6
  626. *%%% OpenDataSource(0x48)
  627. *%%%     SourceType(ubyte) & DataOrg(ubyte)
  628. *%%%     136(0x88)           130(0x82)
  629. *Command: CmdStartDoc
  630. {
  631.     *Order: JOB_SETUP.6
  632.     *Cmd: =ubyte "<00>" =attr_ubyte =SourceType =ubyte "<01>" =attr_ubyte =DataOrg =OpenDataSource
  633. }
  634.  
  635. *%%% ======================
  636. *%%% PAGE_FINISH
  637. *%%% ======================
  638.  
  639. *%%% ======================
  640. *%%% PAGE_FINISH.3
  641. *Command: CmdEndPage
  642. {
  643.     *Order: PAGE_FINISH.1
  644.     *Cmd: =uint16 =NumOfCopy =attr_ubyte =PageCopies =EndPage
  645. }
  646.  
  647. *%%% ======================
  648. *%%% JOB_FINISH.1
  649. *%%% CmdEndJob
  650. *Command: CmdEndJob
  651. {
  652.     *Order: JOB_FINISH.1
  653.     *Cmd: =CloseDataSource =EndSession =PJL_ENDJOB
  654. }
  655.  
  656. *%%% ======================
  657. *%%% PAGE_SETUP
  658. *%%% ======================
  659.  
  660. *%%% ======================
  661. *%%% PAGE_SETUP.1
  662. *%%% BeginPage(0x43)
  663. *%%%     Orientation(40), MediaSize(37), MediaSource(38)
  664. *%%%     ubyte            ubyte          ubyte
  665.  
  666. *BlockMacro: PaperConstraints
  667. {
  668.     *Constraints: LIST(InputBin.Option3, InputBin.Option4, InputBin.Option5)
  669. }
  670.  
  671. *Feature: PaperSize
  672. {
  673.     *rcNameID: =PAPER_SIZE_DISPLAY
  674.     *DefaultOption: LETTER
  675.     *Option: A5
  676.     {
  677.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *% rcid 1000
  678.         *Constraints: InputBin.Option6
  679.         *PageProtectMem: 2125
  680.         *switch: Orientation
  681.         {
  682.             *case: PORTRAIT
  683.             {
  684.                 *PrintableArea: PAIR(6396, 9372)
  685.                 *PrintableOrigin: PAIR(300, 300)
  686.                 *CursorOrigin: PAIR(300, 160)
  687.                 *Command: CmdSelect
  688.                 {
  689.                     *Order: PAGE_SETUP.1
  690.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  691. +                         =ubyte =eA5Paper =attr_ubyte =MediaSize =BeginPage
  692. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  693.                 }
  694.             }
  695.             *case: LANDSCAPE_CC90
  696.             {
  697.                 *PrintableArea: PAIR(6396, 9324)
  698.                 *PrintableOrigin: PAIR(300, 300)
  699.                 *CursorOrigin: PAIR(260, 9624)
  700.                 *Command: CmdSelect
  701.                 {
  702.                     *Order: PAGE_SETUP.1
  703.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  704. +                         =ubyte =eA5Paper =attr_ubyte =MediaSize =BeginPage
  705. +                         =sint16_xy %l{((260*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  706.                 }
  707.             }
  708.         }
  709.     }
  710.     *Option: LETTER
  711.     {
  712.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *% rcid 1000
  713.         *Constraints: InputBin.Option6
  714.         *PageProtectMem: 4109
  715.         *switch: Orientation
  716.         {
  717.             *case: PORTRAIT
  718.             {
  719.                 *PrintableArea: PAIR(9600, 12600)
  720.                 *PrintableOrigin: PAIR(300, 300)
  721.                 *CursorOrigin: PAIR(300, 160)
  722.                 *Command: CmdSelect
  723.                 {
  724.                     *Order: PAGE_SETUP.1
  725.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  726. +                         =ubyte =eLetterPaper =attr_ubyte =MediaSize =BeginPage
  727. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  728.                 }
  729.             }
  730.             *case: LANDSCAPE_CC90
  731.             {
  732.                 *PrintableArea: PAIR(9760, 12600)
  733.                 *PrintableOrigin: PAIR(200, 300)
  734.                 *CursorOrigin: PAIR(200, 12900)
  735.                 *Command: CmdSelect
  736.                 {
  737.                     *Order: PAGE_SETUP.1
  738.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  739. +                         =ubyte =eLetterPaper =attr_ubyte =MediaSize =BeginPage
  740. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  741.                 }
  742.             }
  743.         }
  744.     }
  745.     *Option: LEGAL
  746.     {
  747.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  748.         *Constraints: InputBin.Option6
  749.         *PageProtectMem: 5230
  750.         *switch: Orientation
  751.         {
  752.             *case: PORTRAIT
  753.             {
  754.                 *PrintableArea: PAIR(9600, 16200)
  755.                 *PrintableOrigin: PAIR(300, 300)
  756.                 *CursorOrigin: PAIR(300, 160)
  757.                 *Command: CmdSelect
  758.                 {
  759.                     *Order: PAGE_SETUP.1
  760.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  761. +                         =ubyte =eLegalPaper =attr_ubyte =MediaSize =BeginPage
  762. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  763.                 }
  764.             }
  765.             *case: LANDSCAPE_CC90
  766.             {
  767.                 *PrintableArea: PAIR(9760, 16200)
  768.                 *PrintableOrigin: PAIR(200, 300)
  769.                 *CursorOrigin: PAIR(200, 16500)
  770.                 *Command: CmdSelect
  771.                 {
  772.                     *Order: PAGE_SETUP.1
  773.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  774. +                         =ubyte =eLegalPaper =attr_ubyte =MediaSize =BeginPage
  775. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  776.                 }
  777.             }
  778.         }
  779.     }
  780.     *Option: EXECUTIVE
  781.     {
  782.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  783.         *Constraints: InputBin.Option6
  784.         *PageProtectMem: 4109
  785.         *switch: Orientation
  786.         {
  787.             *case: PORTRAIT
  788.             {
  789.                 *PrintableArea: PAIR(8100, 12000)
  790.                 *PrintableOrigin: PAIR(300, 300)
  791.                 *CursorOrigin: PAIR(300, 160)
  792.                 *Command: CmdSelect
  793.                 {
  794.                     *Order: PAGE_SETUP.1
  795.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  796. +                         =ubyte =eExecPaper =attr_ubyte =MediaSize =BeginPage
  797. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  798.                 }
  799.             }
  800.             *case: LANDSCAPE_CC90
  801.             {
  802.                 *PrintableArea: PAIR(8180, 12000)
  803.                 *PrintableOrigin: PAIR(220, 300)
  804.                 *CursorOrigin: PAIR(200, 12300)
  805.                 *Command: CmdSelect
  806.                 {
  807.                     *Order: PAGE_SETUP.1
  808.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  809. +                         =ubyte =eExecPaper =attr_ubyte =MediaSize =BeginPage
  810. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  811.                 }
  812.             }
  813.         }
  814.     }
  815.  
  816.     *Option: A4
  817.     {
  818.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1008
  819.         *Constraints: InputBin.Option6
  820.         *PageProtectMem: 4249
  821.         *switch: Orientation
  822.         {
  823.             *case: PORTRAIT
  824.             {
  825.                 *PrintableArea: PAIR(9352, 13400)
  826.                 *PrintableOrigin: PAIR(260, 300)
  827.                 *CursorOrigin: PAIR(260, 160)
  828.                 *Command: CmdSelect
  829.                 {
  830.                     *Order: PAGE_SETUP.1
  831.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  832. +                         =ubyte =eA4Paper =attr_ubyte =MediaSize =BeginPage
  833. +                         =sint16_xy %l{((260*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  834.                 }
  835.             }
  836.             *case: LANDSCAPE_CC90
  837.             {
  838.                 *PrintableArea: PAIR(9424, 13428)
  839.                 *PrintableOrigin: PAIR(200, 300)
  840.                 *CursorOrigin: PAIR(200, 13728)
  841.                 *Command: CmdSelect
  842.                 {
  843.                     *Order: PAGE_SETUP.1
  844.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  845. +                         =ubyte =eA4Paper =attr_ubyte =MediaSize =BeginPage
  846. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  847.                 }
  848.             }
  849.         }
  850.     }
  851.     *Option: B5
  852.     {
  853.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  854.         *PageProtectMem: 3198
  855.         *Constraints: InputBin.Option6
  856.         *switch: Orientation
  857.         {
  858.             *case: PORTRAIT
  859.             {
  860.                 *PrintableArea: PAIR(7964, 11714)
  861.                 *PrintableOrigin: PAIR(340, 152)
  862.                 *CursorOrigin: PAIR(200, 152)
  863.                 *Command: CmdSelect
  864.                 {
  865.                     *Order: PAGE_SETUP.1
  866.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  867. +                         =ubyte =eJB5Paper =attr_ubyte =MediaSize =BeginPage
  868. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((152*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  869.                 }
  870.             }
  871.             *case: LANDSCAPE_CC90
  872.             {
  873.                 *PrintableArea: PAIR(8104, 11624)
  874.                 *PrintableOrigin: PAIR(260, 240)
  875.                 *CursorOrigin: PAIR(200, 11904)
  876.                 *Command: CmdSelect
  877.                 {
  878.                     *Order: PAGE_SETUP.1
  879.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  880. +                         =ubyte =eJB5Paper =attr_ubyte =MediaSize =BeginPage
  881. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((280*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  882.                 }
  883.             }
  884.         }
  885.     }
  886.     *Option: ENV_10
  887.     {
  888.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1019
  889.         *InsertBlock: =PaperConstraints
  890.         *Constraints: Duplex.VERTICAL
  891.         *Constraints: Duplex.HORIZONTAL
  892.         *PageProtectMem: 4109
  893.         *switch: Orientation
  894.         {
  895.             *case: PORTRAIT
  896.             {
  897.                 *PrintableArea: PAIR(4346, 10800)
  898.                 *PrintableOrigin: PAIR(300, 300)
  899.                 *switch: Resolution
  900.                 {
  901.                     *case: Option1
  902.                     {
  903.                         *PrintableArea: PAIR(4344, 10800)
  904.                     }
  905.                 }
  906.                 *CursorOrigin: PAIR(300, 180)
  907.                 *Command: CmdSelect
  908.                 {
  909.                     *Order: PAGE_SETUP.1
  910.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  911. +                         =ubyte =eCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  912. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  913.                 }
  914.             }
  915.             *case: LANDSCAPE_CC90
  916.             {
  917.                 *PrintableArea: PAIR(4476, 10800)
  918.                 *PrintableOrigin: PAIR(200, 300)
  919.                 *CursorOrigin: PAIR(200, 11100)
  920.                 *Command: CmdSelect
  921.                 {
  922.                     *Order: PAGE_SETUP.1
  923.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  924. +                         =ubyte =eCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  925. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  926.                 }
  927.             }
  928.         }
  929.     }
  930.     *Option: ENV_DL
  931.     {
  932.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1026
  933.         *InsertBlock: =PaperConstraints
  934.         *Constraints: Duplex.VERTICAL
  935.         *Constraints: Duplex.HORIZONTAL
  936.         *PageProtectMem: 4109
  937.         *switch: Orientation
  938.         {
  939.             *case: PORTRAIT
  940.             {
  941.                 *PrintableArea: PAIR(4576, 9792)
  942.                 *PrintableOrigin: PAIR(300, 300)
  943.                 *CursorOrigin: PAIR(300, 180)
  944.                 *Command: CmdSelect
  945.                 {
  946.                     *Order: PAGE_SETUP.1
  947.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  948. +                         =ubyte =eDLEnvelope =attr_ubyte =MediaSize =BeginPage
  949. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  950.                 }
  951.             }
  952.             *case: LANDSCAPE_CC90
  953.             {
  954.                 *PrintableArea: PAIR(4796, 9792)
  955.                 *PrintableOrigin: PAIR(200, 300)
  956.                 *CursorOrigin: PAIR(200, 10092)
  957.                 *Command: CmdSelect
  958.                 {
  959.                     *Order: PAGE_SETUP.1
  960.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  961. +                         =ubyte =eDLEnvelope =attr_ubyte =MediaSize =BeginPage
  962. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  963.                 }
  964.             }
  965.         }
  966.     }
  967.     *Option: ENV_C5
  968.     {
  969.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1027
  970.         *InsertBlock: =PaperConstraints
  971.         *Constraints: Duplex.VERTICAL
  972.         *Constraints: Duplex.HORIZONTAL
  973.         *PageProtectMem: 4109
  974.         *switch: Orientation
  975.         {
  976.             *case: PORTRAIT
  977.             {
  978.                 *PrintableArea: PAIR(7036, 10214)
  979.                 *PrintableOrigin: PAIR(300, 300)
  980.                 *switch: Resolution
  981.                 {
  982.                     *case: Option2
  983.                     {
  984.                         *PrintableArea: PAIR(7036, 10212)
  985.                     }
  986.                 }
  987.                 *CursorOrigin: PAIR(300, 180)
  988.                 *Command: CmdSelect
  989.                 {
  990.                     *Order: PAGE_SETUP.1
  991.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  992. +                         =ubyte =eC5Envelope =attr_ubyte =MediaSize =BeginPage
  993. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  994.                 }
  995.             }
  996.             *case: LANDSCAPE_CC90
  997.             {
  998.                 *PrintableArea: PAIR(7116, 10224)
  999.                 *PrintableOrigin: PAIR(240, 300)
  1000.                 *CursorOrigin: PAIR(200, 10524)
  1001.                 *Command: CmdSelect
  1002.                 {
  1003.                     *Order: PAGE_SETUP.1
  1004.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1005. +                         =ubyte =eC5Envelope =attr_ubyte =MediaSize =BeginPage
  1006. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1007.                 }
  1008.             }
  1009.         }
  1010.     }
  1011.  
  1012.   
  1013.     *Option: ENV_MONARCH
  1014.     {
  1015.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1036
  1016.         *InsertBlock: =PaperConstraints
  1017.         *Constraints: Duplex.VERTICAL
  1018.         *Constraints: Duplex.HORIZONTAL
  1019.         *PageProtectMem: 4109
  1020.         *switch: Orientation
  1021.         {
  1022.             *case: PORTRAIT
  1023.             {
  1024.                 *PrintableArea: PAIR(4046, 8400)
  1025.                 *PrintableOrigin: PAIR(300, 300)
  1026.                 *switch: Resolution
  1027.                 {
  1028.                     *case: Option2
  1029.                     {
  1030.                         *PrintableArea: PAIR(4044, 8400)
  1031.                     }
  1032.                 }
  1033.                 *CursorOrigin: PAIR(300, 180)
  1034.                 *Command: CmdSelect
  1035.                 {
  1036.                     *Order: PAGE_SETUP.1
  1037.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1038. +                         =ubyte =eMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1039. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1040.                 }
  1041.             }
  1042.             *case: LANDSCAPE_CC90
  1043.             {
  1044.                 *PrintableArea: PAIR(4076, 8400)
  1045.                 *PrintableOrigin: PAIR(300, 300)
  1046.                 *CursorOrigin: PAIR(200, 8700)
  1047.                 *Command: CmdSelect
  1048.                 {
  1049.                     *Order: PAGE_SETUP.1
  1050.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1051. +                         =ubyte =eMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1052. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1053.                 }
  1054.             }
  1055.         }
  1056.     }
  1057.  
  1058.  
  1059.     *Option: ENV_B5
  1060.     {
  1061.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1062.         *PageProtectMem: 4109
  1063.         *InsertBlock: =PaperConstraints
  1064.         *Constraints: Duplex.VERTICAL
  1065.         *Constraints: Duplex.HORIZONTAL
  1066.         *switch: Orientation
  1067.         {
  1068.             *case: PORTRAIT
  1069.             {
  1070.                 *PrintableArea: PAIR(7716, 11368)
  1071.                 *PrintableOrigin: PAIR(300, 140)
  1072.                 *CursorOrigin: PAIR(300, 140)
  1073.                 *Command: CmdSelect
  1074.                 {
  1075.                     *Order: PAGE_SETUP.1
  1076.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1077. +                         =ubyte =eB5Envelope =attr_ubyte =MediaSize =BeginPage
  1078. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((140*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1079.                 }
  1080.             }
  1081.             *case: LANDSCAPE_CC90
  1082.             {
  1083.                 *PrintableArea: PAIR(7776, 11208)
  1084.                 *PrintableOrigin: PAIR(240, 300)
  1085.                 *CursorOrigin: PAIR(200, 11508)
  1086.                 *Command: CmdSelect
  1087.                 {
  1088.                     *Order: PAGE_SETUP.1
  1089.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1090. +                         =ubyte =eB5Envelope =attr_ubyte =MediaSize =BeginPage
  1091. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1092.                 }
  1093.             }
  1094.         }
  1095.     }
  1096.  
  1097.  
  1098.  
  1099.    *Option: FOLIO 
  1100.     { 
  1101.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME 
  1102.         *PrintableArea: PAIR(9600, 15200)
  1103.         *PrintableOrigin: PAIR(200, 200)
  1104.         *switch: Orientation
  1105.         {
  1106.             *case: PORTRAIT
  1107.             {
  1108.                 *CursorOrigin: PAIR(200, 200)
  1109.                 *Command: CmdSelect 
  1110.                 { 
  1111.                     *Order: JOB_SETUP.2 
  1112.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation 
  1113. +                         =ubyte "<18>" =attr_ubyte =MediaSize =BeginPage
  1114. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1115.                 } 
  1116.              } 
  1117.              *case: LANDSCAPE_CC90
  1118.              {
  1119.                 *CursorOrigin: PAIR(200, 15400)
  1120.                 *Command: CmdSelect
  1121.                 {
  1122.                     *Order: JOB_SETUP.2 
  1123.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation 
  1124. +                         =ubyte "<18>" =attr_ubyte =MediaSize =BeginPage
  1125. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1126.                 }
  1127.             }
  1128.         }
  1129.     }
  1130.  
  1131.  
  1132.     *Option: CUSTOMSIZE
  1133.     {
  1134.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1255
  1135.         *MinSize: PAIR(3600, 6000)
  1136.         *MaxSize: PAIR(10200, 32767)
  1137.         *MaxPrintableWidth: 10200
  1138.         *MinLeftMargin: 100
  1139.         *CenterPrintable?: FALSE
  1140.         *PageProtectMem: 1692
  1141.         *switch: Orientation
  1142.         {
  1143.             *case: PORTRAIT
  1144.             {
  1145.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 10200) / 2) + 300 }
  1146.                 *CustCursorOriginY:   %d{140 }
  1147.                 *CustPrintableOriginX:  %d{300 }
  1148.                 *CustPrintableOriginY:  %d{300}
  1149.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 600 }
  1150.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 600 }
  1151.                 *Command: CmdSelect
  1152.                 {
  1153.                     *Order: PAGE_SETUP.1
  1154.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1155. +                         =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  1156. +                         =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1157. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1158.                 }
  1159.             }
  1160.             *case: LANDSCAPE_CC90
  1161.             {
  1162.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 10200) / 2) + 200 }
  1163.                 *CustCursorOriginY:   %d{16560 }
  1164.                 *CustPrintableOriginX:  %d{200 }
  1165.                 *CustPrintableOriginY:  %d{240}
  1166.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 400 }
  1167.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 480 }
  1168.                 *Command: CmdSelect
  1169.                 {
  1170.                     *Order: PAGE_SETUP.1
  1171.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1172. +                         =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  1173. +                         =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1174. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1175.                 }
  1176.             }
  1177.         }
  1178.     }
  1179. }
  1180.  
  1181. *%%% ======================
  1182. *%%% PAGE_SETUP.2
  1183. *%%% BeginPage(0x43)
  1184. *%%%     Orientation(0x40), MediaSize(0x37), MediaSource(0x38)
  1185. *%%%     ubyte               ubyte             ubyte
  1186. *%%%     MediaSource
  1187. *Feature: InputBin{ *Option: Option1{} *Option: Option7{} *Option: UPPER{} *Option: LOWER{} *Option: MANUAL{}}
  1188. *Feature: InputBin
  1189. {
  1190.     *rcNameID: =PAPER_SOURCE_DISPLAY
  1191.     *DefaultOption: Option1
  1192.     *Option: Option1
  1193.     {
  1194.         *rcNameID: =AUTO_SELECT_DISPLAY  *% Automatically Select
  1195.         *Command: CmdSelect
  1196.         {
  1197.             *Order: PAGE_SETUP.2
  1198.             *Cmd: =ubyte =eAutoSelect =attr_ubyte =MediaSource
  1199.         }
  1200.     }
  1201.     *Option: UPPER
  1202.     {
  1203.         *rcNameID: =TRAY2_DISPLAY *% Upper Paper tray
  1204.         *Command: CmdSelect
  1205.         {
  1206.             *Order: PAGE_SETUP.2
  1207.             *Cmd: =ubyte =eUpperCassette =attr_ubyte =MediaSource
  1208.         }
  1209.     }
  1210.     *Option: MANUAL
  1211.     {
  1212.         *rcNameID: =MANUAL_FEED_TRAY1_DISPLAY *% Manual Paper feed
  1213.         *Command: CmdSelect
  1214.         {
  1215.             *Order: PAGE_SETUP.2
  1216.             *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
  1217.         }
  1218.     }
  1219.  
  1220.     *Option: LOWER
  1221.     {
  1222.         *rcNameID: =TRAY3_DISPLAY *% Lower Paper tray
  1223.         *Command: CmdSelect
  1224.         {
  1225.             *Order: PAGE_SETUP.2
  1226.             *Cmd: =ubyte =eLowerCassette =attr_ubyte =MediaSource
  1227.         }
  1228.     }
  1229.     *Option: Option7
  1230.     {
  1231.         *rcNameID: =TRAY1_DISPLAY  *% MP Tray
  1232.         *Command: CmdSelect
  1233.         {
  1234.             *Order: PAGE_SETUP.2
  1235.             *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
  1236.         }
  1237.     }
  1238. }
  1239.  
  1240.  
  1241. *%Following Papersizes cannot be duplexed
  1242. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_10)
  1243. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_DL)
  1244. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_C5)
  1245. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_MONARCH)
  1246. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_B5)
  1247. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_10)
  1248. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_DL)
  1249. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_C5)
  1250. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_MONARCH)
  1251. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_B5)
  1252.  
  1253. *%UPPER Paper Tray Constraints
  1254. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_10)
  1255. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_DL)
  1256. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_C5)
  1257. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_MONARCH)
  1258. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_B5)
  1259.  
  1260. *%LOWER Paper Tray Constraints
  1261. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_10)
  1262. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_DL)
  1263. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_C5)
  1264. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_MONARCH)
  1265. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_B5)
  1266.  
  1267.  
  1268.  
  1269.  
  1270. *%%% ======================
  1271. *%%% PAGE_SETUP.3
  1272. *%%% BeginPage(0x43)
  1273. *%%%     Orientation(0x40), MediaSize(0x37), MediaSource(0x38), MediaType
  1274. *%%%     ubyte               ubyte             ubyte
  1275. *%%%     MediaType
  1276. *Feature: MediaType
  1277. {
  1278.     *rcNameID: =MEDIA_TYPE_DISPLAY
  1279.     *DefaultOption: AutoSelect
  1280.  
  1281.     *Option: AutoSelect
  1282.     {
  1283.         *rcNameID: =AUTO_SELECT_DISPLAY
  1284.     }
  1285.     *Option: Plain
  1286.     {
  1287.         *rcNameID: =PLAIN_DISPLAY
  1288.         *Command: CmdSelect
  1289.         {
  1290.             *Order: PAGE_SETUP.3
  1291.             *Cmd: =ubyte_array =ePlain =attr_ubyte =MediaType
  1292.         }
  1293.     }
  1294.     *Option: Preprinted
  1295.     {
  1296.         *rcNameID: =PREPRINTED_DISPLAY
  1297.         *Command: CmdSelect
  1298.         {
  1299.             *Order: PAGE_SETUP.3
  1300.             *Cmd: =ubyte_array =ePreprinted =attr_ubyte =MediaType
  1301.         }
  1302.     }
  1303.     *Option: Letterhead
  1304.     {
  1305.         *rcNameID: =LETTERHEAD_DISPLAY
  1306.         *Command: CmdSelect
  1307.         {
  1308.             *Order: PAGE_SETUP.3
  1309.             *Cmd: =ubyte_array =eLetterhead =attr_ubyte =MediaType
  1310.         }
  1311.     }
  1312.     *Option: Transparency
  1313.     {
  1314.         *rcNameID: =TRANSPARENCY_DISPLAY
  1315.     *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1316.         *Command: CmdSelect
  1317.         {
  1318.             *Order: PAGE_SETUP.3
  1319.             *Cmd: =ubyte_array =eTransparency =attr_ubyte =MediaType
  1320.         }
  1321.     }
  1322.     *Option: Prepunched
  1323.     {
  1324.         *rcNameID: =PREPUNCHED_DISPLAY
  1325.         *Command: CmdSelect
  1326.         {
  1327.             *Order: PAGE_SETUP.3
  1328.             *Cmd: =ubyte_array =ePrepunched =attr_ubyte =MediaType
  1329.         }
  1330.     }
  1331.     *Option: Labels
  1332.     {
  1333.         *rcNameID: =LABELS_DISPLAY
  1334.     *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1335.         *Command: CmdSelect
  1336.         {
  1337.             *Order: PAGE_SETUP.3
  1338.             *Cmd: =ubyte_array =eLabels =attr_ubyte =MediaType
  1339.         }
  1340.     }
  1341.     *Option: Bond
  1342.     {
  1343.         *rcNameID: =BOND_DISPLAY
  1344.         *Command: CmdSelect
  1345.         {
  1346.             *Order: PAGE_SETUP.3
  1347.             *Cmd: =ubyte_array =eBond =attr_ubyte =MediaType
  1348.         }
  1349.     }
  1350.     *Option: Recycled
  1351.     {
  1352.         *rcNameID: =RECYCLED_DISPLAY
  1353.         *Command: CmdSelect
  1354.         {
  1355.             *Order: PAGE_SETUP.3
  1356.             *Cmd: =ubyte_array =eRecycled =attr_ubyte =MediaType
  1357.         }
  1358.     }
  1359.     *Option: Color
  1360.     {
  1361.         *rcNameID: =COLOR_DISPLAY
  1362.         *Command: CmdSelect
  1363.         {
  1364.             *Order: PAGE_SETUP.3
  1365.             *Cmd: =ubyte_array =eColor =attr_ubyte =MediaType
  1366.         }
  1367.     }
  1368.     *Option: CardStock
  1369.     {
  1370.         *rcNameID: =CARDSTOCK_DISPLAY
  1371.         *Command: CmdSelect
  1372.         {
  1373.             *Order: PAGE_SETUP.3
  1374.             *Cmd: =ubyte_array =eCardstock =attr_ubyte =MediaType
  1375.         }
  1376.     }
  1377.     *Option: Rough
  1378.     {
  1379.         *rcNameID: =ROUGH_DISPLAY
  1380.         *Command: CmdSelect
  1381.         {
  1382.             *Order: PAGE_SETUP.3
  1383.             *Cmd: =ubyte_array =eRough =attr_ubyte =MediaType
  1384.         }
  1385.     }
  1386. }
  1387.  
  1388. *%%% ======================
  1389. *%%% PAGE_SETUP.3
  1390. *%%% DuplexPageMode(53(0x35))
  1391. *Feature: Duplex
  1392. {
  1393.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1394.     *DefaultOption: NONE
  1395.     *Option: NONE
  1396.     {
  1397.         *rcNameID: =NONE_DISPLAY
  1398.         *Command: CmdSelect
  1399.         {
  1400.             *Order: JOB_SETUP.4
  1401.             *Cmd: "@PJL SET DUPLEX=OFF<0A>"
  1402.         }
  1403.     }
  1404.     *Option: VERTICAL
  1405.     {
  1406.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1407.         *Command: CmdSelect
  1408.         {
  1409.             *Order: JOB_SETUP.4
  1410.             *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=LONGEDGE<0A>"
  1411.         }
  1412.     }
  1413.     *Option: HORIZONTAL
  1414.     {
  1415.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1416.         *Command: CmdSelect
  1417.         {
  1418.             *Order: JOB_SETUP.4
  1419.             *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=SHORTEDGE<0A>"
  1420.         }
  1421.     }
  1422. }
  1423.  
  1424. *%%% ======================
  1425. *%%% PAGE_SETUP.4
  1426. *%%% SetPageOrigin
  1427. *%%%     PageOrigin
  1428. *%%% SetPageScale
  1429. *Command: CmdStartPage
  1430. {
  1431.     *Order: PAGE_SETUP.4
  1432.     *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
  1433. +         =ubyte "<01>" =attr_ubyte =ColorSpace =SetColorSpace
  1434. }
  1435.  
  1436. *%%% ======================
  1437. *%%% PAGE_SETUP.5
  1438. *%%% Feature
  1439. *%%% Dither
  1440. *Feature: Dither
  1441. {
  1442.     *rcNameID: =DITHER_QUALITY_DISPLAY
  1443.     *DefaultOption: HIQUALITY
  1444.     *Option: HIQUALITY
  1445.     {
  1446.         *rcNameID: =DITHER_QUALITY_HIGH_DISPLAY
  1447.         *Command: CmdSelect
  1448.         {
  1449.             *Order: PAGE_SETUP.5
  1450.             *Cmd: ""
  1451.         }
  1452.     }
  1453.     *Option: LOQUALITY
  1454.     {
  1455.         *rcNameID: =DITHER_QUALITY_LOW_DISPLAY
  1456.         *Command: CmdSelect
  1457.         {
  1458.             *Order: PAGE_SETUP.5
  1459.             *Cmd: ""
  1460.         }
  1461.     }
  1462. }
  1463.  
  1464.  
  1465. *%%% ======================
  1466. *%%% Feature
  1467. *%%% Memory
  1468. *Feature: Memory
  1469. {
  1470.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  1471.     *DefaultOption: 12MB
  1472. *% 4MB Standard memory, 3 memory slots with 4, 8, 16 or 32 MB dimms avail.
  1473. *% Max memory 96 (+4 on board) = 100
  1474.         *MemConfigMB: PAIR(4, 3)
  1475.         *MemConfigMB: PAIR(8, 7)
  1476.         *MemConfigMB: PAIR(12, 10)
  1477.         *MemConfigMB: PAIR(16, 13)
  1478.         *MemConfigMB: PAIR(20, 17)
  1479.         *MemConfigMB: PAIR(24, 21)
  1480.         *MemConfigMB: PAIR(28, 24)
  1481.         *MemConfigMB: PAIR(32, 28)
  1482.         *MemConfigMB: PAIR(36, 31)
  1483.         *MemConfigMB: PAIR(40, 35)
  1484.         *MemConfigMB: PAIR(44, 39)
  1485.         *MemConfigMB: PAIR(48, 42)
  1486.         *MemConfigMB: PAIR(52, 46)
  1487.         *MemConfigMB: PAIR(56, 49)
  1488.         *MemConfigMB: PAIR(60, 52)
  1489.         *MemConfigMB: PAIR(68, 59)
  1490. }
  1491.  
  1492. *%%% ======================
  1493. *%%% Device fonts
  1494. *%%% ======================
  1495.  
  1496. *DefaultFont: =RC_FONT_COURIERR
  1497. *DefaultCTT: 0
  1498.  
  1499. *DeviceFonts: LIST(
  1500. +    =RC_FONT_ALBERTX,
  1501. +    =RC_FONT_AOLIVEB,
  1502. +    =RC_FONT_AOLIVER,
  1503. +    =RC_FONT_ARIALB,
  1504. +    =RC_FONT_ARIALI,
  1505. +    =RC_FONT_ARIALJ,
  1506. +    =RC_FONT_ARIALR,
  1507. +    =RC_FONT_COURIERB,
  1508. +    =RC_FONT_COURIERI,
  1509. +    =RC_FONT_COURIERJ,
  1510. +    =RC_FONT_COURIERR,
  1511. +    =RC_FONT_LETGOTHB,
  1512. +    =RC_FONT_LETGOTHI,
  1513. +    =RC_FONT_LETGOTHR,
  1514. +    =RC_FONT_MARGOLDR,
  1515. +    =RC_FONT_TIMESNRB,
  1516. +    =RC_FONT_TIMESNRI,
  1517. +    =RC_FONT_TIMESNRJ,
  1518. +    =RC_FONT_TIMESNRR,
  1519. +    =RC_FONT_WINGDINGS,
  1520. +    =RC_FONT_SYMBOL)
  1521.  
  1522. *TTFS: AlbertusX
  1523. {
  1524.   *TTFontName: "Albertus Extra Bold"
  1525.   *DevFontName: "Albertus Extra Bold"
  1526. }
  1527. *TTFS: AntiqueOlive
  1528. {
  1529.   *TTFontName: "Antique Olive"
  1530.   *DevFontName: "Antique Olive"
  1531. }
  1532. *TTFS: LetterGothic
  1533. {
  1534.   *TTFontName: "Letter Gothic"
  1535.   *DevFontName: "Letter Gothic"
  1536. }
  1537. *TTFS: Marigold
  1538. {
  1539.   *TTFontName: "Marigold"
  1540.   *DevFontName: "Marigold"
  1541. }
  1542.  
  1543.  
  1544. *%% =======================
  1545. *%% Optional Duplex Unit
  1546. *%% =======================
  1547. *Feature: DuplexUnit
  1548. {
  1549.     *FeatureType: PRINTER_PROPERTY
  1550.     *rcNameID: =DUPLEX_UNIT_DISPLAY
  1551.     *DefaultOption: Installed
  1552.     *Option: NotInstalled
  1553.     {
  1554.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1555.         *DisabledFeatures: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1556.         *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1557.     }
  1558.  
  1559.     *Option: Installed
  1560.     {
  1561.         *rcNameID: =INSTALLED_DISPLAY
  1562.     }
  1563. }
  1564.  
  1565. *Feature: TRAY3
  1566. {
  1567.     *rcNameID: =TRAY3_DISPLAY
  1568.     *FeatureType: PRINTER_PROPERTY
  1569.     *DefaultOption: FALSE
  1570.     *Option: FALSE
  1571.     {
  1572.         *rcNameID: =NOT_INSTALLED_DISPLAY       
  1573.         *Constraints: LIST(InputBin.LOWER)
  1574.  
  1575.     }
  1576.     *Option: TRUE
  1577.     {
  1578.         *rcNameID: =INSTALLED_DISPLAY
  1579.     }
  1580. }
  1581.  
  1582. *InvalidCombination: LIST(TRAY3.FALSE,InputBin.Option4)
  1583.  
  1584.  
  1585. *%% =======================
  1586. *%% Optional Hard Disk
  1587. *%% =======================
  1588. *Feature: PrinterHardDisk
  1589. {
  1590.     *rcNameID: =PRINTER_HARDDISK_DISPLAY
  1591.     *FeatureType: PRINTER_PROPERTY
  1592.     *DefaultOption: FALSE
  1593.     *Option: FALSE
  1594.     {
  1595.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1596.         *DisabledFeatures: LIST(Collate)
  1597.     }
  1598.     *Option: TRUE
  1599.     {
  1600.         *rcNameID: =INSTALLED_DISPLAY
  1601.     }
  1602. }
  1603.  
  1604.  
  1605. *%%% ======================
  1606. *%%% PCL XL GPD file main
  1607. *%%% ======================
  1608.  
  1609. *%%% ======================
  1610. *%%% Global Entries
  1611. *%%% Attributes
  1612. *%%% ======================
  1613. *MasterUnits: PAIR(1200, 1200)
  1614. *CodePage: 1252
  1615. *ResourceDLL: "pclxl.dll"
  1616. *PrinterType: PAGE
  1617. *Personality: =PERSONALITY_PCLXL
  1618. *rcPersonalityID: =PERSONALITY_PCLXL_DISPLAY
  1619. *%%% *rcPrinterIconID:
  1620.  
  1621. *%%% ======================
  1622. *%%% Printing attributes
  1623. *%%% ======================
  1624. *RotateCoordinate?: TRUE
  1625. *RotateRaster?: TRUE
  1626. *RotateFont?: TRUE
  1627. *EjectPageWithFF?: FALSE
  1628.  
  1629. *TextCaps: LIST(TC_CR_ANY,TC_CR_90,TC_SF_X_YINDEP,TC_SA_CONTIN,TC_IA_ABLE,TC_UA_ABLE)
  1630. *MemoryUsage: LIST(FONT)
  1631. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1632. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1633. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1634. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1635. *XMoveThreshold: 0
  1636. *YMoveThreshold: 0
  1637. *XMoveUnit: 1200
  1638. *YMoveUnit: 1200
  1639.  
  1640. *%%% *MinGrayFill: 1
  1641. *%%% *MaxGrayFill: 100
  1642.  
  1643. *%%% *OutputDataFormat: H_BYTE
  1644. *%%% *OptimizeLeftBound?: TRUE
  1645.  
  1646. *%%% ======================
  1647. *%%% Color
  1648. *%%% ======================
  1649. *Feature: ColorMode
  1650. {
  1651.     *ConcealFromUI?: TRUE
  1652.     *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1653.     *DefaultOption: Mono
  1654.     *Option: Mono
  1655.     {
  1656.         *rcNameID: =COLOR_DISPLAY
  1657.         *Color?: FALSE
  1658.         *DevNumOfPlanes: 1
  1659.         *DevBPP: 24
  1660.         *DrvBPP: 24
  1661.         *PaletteSize: 256
  1662.         *PaletteProgrammable?: FALSE
  1663.     }
  1664. }
  1665.  
  1666. *%%% ======================
  1667. *%%% TrueType fonts
  1668. *%%% ======================
  1669.  
  1670. *CharPosition: BASELINE
  1671. *TTFSEnabled?: TRUE
  1672. *FontFormat: OEM_CALLBACK
  1673. *MinFontID: 1
  1674. *MaxFontID: 65535
  1675. *MinGlyphID: 1
  1676. *MaxGlyphID: 1000
  1677.  
  1678. *%%% ======================
  1679. *%%% Cursor commands
  1680. *%%% ======================
  1681.  
  1682. *Command: CmdCR { *Cmd: =CR}
  1683. *Command: CmdLF { *Cmd: =LF}
  1684. *Command: CmdFF { *Cmd: =FF}
  1685.  
  1686. *%%% SetCursor(0x6b)
  1687. *%%%     Point(76(0x40c)) uint_16
  1688. *%%% SetCursorRel(0x6c)
  1689. *%%%     Point(76(0x40c)) uint_16
  1690. *Command: CmdXMoveAbsolute
  1691. {
  1692.     *Cmd: ""
  1693. }
  1694. *Command: CmdXMoveRelRight
  1695. {
  1696.     *Cmd: ""
  1697.     *Params: LIST(DestXRel, TextXRes)
  1698. }
  1699. *Command: CmdXMoveRelLeft
  1700. {
  1701.     *Cmd: ""
  1702.     *Params: LIST(DestXRel, TextXRes)
  1703. }
  1704. *Command: CmdYMoveAbsolute
  1705. {
  1706.     *Cmd: ""
  1707.     *Params: LIST(DestY, TextYRes)
  1708. }
  1709. *Command: CmdYMoveRelDown
  1710. {
  1711.     *Cmd: ""
  1712.     *Params: LIST(DestYRel, TextYRes)
  1713. }
  1714. *Command: CmdYMoveRelUp
  1715. {
  1716.     *Cmd: ""
  1717.     *Params: LIST(DestYRel, TextYRes)
  1718. }
  1719. *%%% *Command: CmdPushCursor
  1720. *%%% *Command: CmdPopCursor
  1721.  
  1722. *%%% =======================
  1723. *%%% Font commands
  1724. *%%% =======================
  1725.  
  1726. *Command: CmdSetFontID { *Cmd : "" }
  1727. *Command: CmdSelectFontID
  1728. {
  1729.     *Cmd: ""
  1730.     *Params: LIST(FontHeight, CurrentFontID, TextYRes)
  1731. }
  1732.  
  1733. *Command: CmdSetCharCode
  1734. {
  1735.     *Cmd : ""
  1736. }
  1737.  
  1738. *Command: CmdBoldOn
  1739. {
  1740.     *Cmd : ""
  1741. }
  1742. *Command: CmdBoldOff
  1743. {
  1744.     *Cmd : ""
  1745. }
  1746. *%%% *Command: CmdItalicOn: "=real32_xy "<3ea1e4f700000000>" =attr_ubyte =eCharShear =SetCharShear"
  1747. *%%% *Command: CmdItalicOff: "=real32_xy "<0000000000000000>" =attr_ubyte =eCharShear =SetCharShear"
  1748. *%%% *Command: CmdWhiteTextOn:
  1749. *%%% *Command: CmdWhiteTextOff:
  1750. *%%% *Command: CmdSelectSingleByteMode:
  1751. *%%% *Command: CmdSelectDoubleByteMode:
  1752. *Command: CmdSetAnyRotation
  1753. {
  1754.     *Cmd: ""
  1755.     *Params: LIST(PrintDirInCCDegrees)
  1756. }
  1757. *Command: CmdSetSimpleRotation
  1758. {
  1759.     *Cmd: ""
  1760.     *Params: LIST(PrintDirInCCDegrees)
  1761. }
  1762.